<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title><?php echo $title ?></title>

<link rel="stylesheet" type="text/css" href="<?php echo base_url("/application/resources/".$style); ?>" /> 

</head>

<body class="CustomStyle">

<div class="body">
	<div class="top_bar">
		<table>
			<tr>
				<td>
					<label class="title"><?php echo $title ?></label>
				</td>
				<td style="text-align:right; padding-right:5px">
					<label style="font-size:large"><?php echo $user['UserName']; ?></label>
				</td>
			</tr>
		</table>
	</div>
	<table class="CustomStyle">
		<tr>
			<td class="Menu" style="vertical-align:top">
				<?php echo $menu; ?>
				<!-- temporary
				<a href="index.php">Home</a>
				<br>
				<a href="Boards">Boards</a>
				<br>
				<a href="Admin">Admin</a>
				<br>
				<a href="User/SignOut/">Sign Out</a>
				<br>
				<!--<?php echo anchor("", "Home") ?> THE WAY WE DO!-->
			</td>
			<td class="Body">
				<?php echo $main_content_view; ?>
			</td>
		</tr>
	</table>
</div>

</body>
</html>
